//
// Created by 紫霄 on 2020/4/13.
//

#ifndef LEETCODE_17_H
#define LEETCODE_17_H
#include <math.h>
#include <vector>
using namespace std;

class Solution {
public:
  vector<int> printNumbers(int n) {
    int k = pow(10, n);
    vector<int> m(k - 1, 0);
    for (int i = 1; i < k; ++i) {
      m[i - 1] = i;
    }
    return m;
  }
};
#endif // LEETCODE_17_H
